﻿using HamcoWcs.Models.NodeInfos;
using System;

namespace HamcoWcs.Models.PathInfos
{
    /// <summary>
    /// 记录路径中节点发生异常
    /// </summary>
    public class PathNodeErrorInfo
    {
        public PathNodeErrorInfo(NodeInfoDto node)
        {
            this.Node = node;
            TriggerTime = DateTime.Now;
        }
        public NodeInfoDto Node { get; set; }
        public string NodeName => Node.NodeName;
        public DateTime TriggerTime { get; set; }
    }
}
